package com.huifai.common.constant;

public class SysConstant {

    public static final String USER_PREFIX="userId_";
    public static final String CURRENT_USER="CURRENT_USER";
    public static final String USER_LOCK="USER_LOCK";

    /**
     * 数据状态
     */
    public static final class DataStatus{
        public static final Integer STATUS_NORMAL=1;
        public static final Integer STATUS_ENABLE=0;
    }

    /**
     * 是否删除
     */
    public static final class IsDeleted{
        public static final Integer IS_DELETED_FALSE=0;
        public static final Integer IS_DELETED_TRUE=1;
    }

    /**
     * 数据权限类型
     */
    public static final class DataPermissionType{
        public static final String ROLE="role";
        public static final String USER="user";
        public static final String GROUP="group";
    }
}
